﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmallJob.Data.Interfaces;
using SmallJob.Model;

namespace SmallShop.Services.Interfaces
{
    public interface IFeatureService : IRepository<Feature>
    {
        bool IsExisted(string title);
        int Count();
        void AddFeatureItem(FeatureItem fi);
        bool IsFeatureItemExist(FeatureItem fi);
        bool IsFeatureItemExist(int fID,int itemID);
        List<FeatureItem> GetFeatureItems(int fID);
        void RemoveFeatureItem(int id);
    }
}
